package com.culturalCenter.dataCenter.service.impl.activity;

import com.culturalCenter.dataCenter.entity.activity.ActivityAssessment;
import com.culturalCenter.dataCenter.mapper.activity.ActivityAssessmentMapper;
import com.culturalCenter.dataCenter.service.activity.ActivityAssessmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : weicai
 * @date : 10:39 2020/11/5
 */
@Service
public class ActivityAssessmentServiceImpl implements ActivityAssessmentService {

    @Resource
    private ActivityAssessmentMapper activityAssessmentMapper;

    @Override
    public List<ActivityAssessment> getAssessment(String activityId) {
        return activityAssessmentMapper.queryByActivityId(activityId);
    }
}
